﻿
@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>Login</title>
    @if (ViewBag.ThemeCsses != null && ViewBag.ThemeCsses.Count > 0)
    {
        foreach (var themeCsse in ViewBag.ThemeCsses)
        {
            @Styles.Render(themeCsse);
        }
    }
    @Scripts.Render("~/bundles/modernizr")
    <style>
        body {
            background-color: #f5f5f5;
        }

        .form-sigin {
            max-width: 300px;
            padding: 19px 29px 29px;
            margin: 0 auto 20px;
            background-color: #fff;
            border: 1px solid #e5e5e5;
            -webkit-border-radius: 5px;
            -moz-border-radius: 5px;
            border-radius: 5px;
            -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.05);
            -moz-box-shadow: 0 1px 2px rgba(0,0,0,.05);
            box-shadow: 0 1px 2px rgba(0,0,0,.05);
        }

            .form-sigin input {
                margin-bottom: 3px;
            }
    </style>
</head>
<body>
    <div class="container">
        <form class="form-sigin" role="form" method="post">
            <h2>欢迎登录</h2>
            @Html.TextBox("name","", new { placeholder = "请输入用户名", @class = "form-control", required = "required", autofocus = "autofocus" })
            @Html.Password("password","", new { placeholder = "请输入密码", @class = "form-control", required = "required" })
            <input type="submit" class="btn btn-lg btn-primary btn-block" value="登录" />
            @Html.ValidationMessage("loginerror")
        </form>
    </div>
    @Scripts.Render("~/bundles/jquery")
    @Scripts.Render("~/bundles/bootstrap")
    @if (ViewBag.ThemeScipts != null && ViewBag.ThemeScipts.Count > 0)
    {
        foreach (var themeScipt in ViewBag.ThemeScipts)
        {
            @Scripts.Render(themeScipt);
        }
    }
    @Scripts.Render("~/bundles/knockout")
</body>
</html>
